package top.lucky.elasticsearch.entity;

import lombok.Data;

/**
 * @author Jane
 * @date 2022/10/30, 11:38
 */
@Data
public class User {
	
	private Long id;
	
	private String name;// 姓名
	private Integer age;// 年龄
	
	@Override
	public String toString() {
		return "User{" +
			"id=" + id +
			", name='" + name + '\'' +
			", age=" + age +
			", gender='" + gender + '\'' +
			", note='" + note + '\'' +
			'}';
	}
	
	private String gender;// 性别
	
	private String note;// 备注
	
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public Integer getAge() {
		return age;
	}
	
	public void setAge(Integer age) {
		this.age = age;
	}
	
	public String getGender() {
		return gender;
	}
	
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	public String getNote() {
		return note;
	}
	
	public void setNote(String note) {
		this.note = note;
	}
	

}
